package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.BdmCloudInventoryItem;
import com.ruoyi.system.domain.dto.CloudInventoryDetailDto;
import com.ruoyi.system.domain.vo.BdmCloudInventoryItemVo;

import java.util.List;

/**
 * 云库存明细Service接口
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public interface IBdmCloudInventoryItemService  extends IService<BdmCloudInventoryItem>
{
    /**
     * 查询云库存明细
     * 
     * @param id 云库存明细主键
     * @return 云库存明细
     */
    public BdmCloudInventoryItem selectBdmCloudInventoryItemById(Long id);

    /**
     * 查询云库存明细列表
     * 
     * @param bdmCloudInventoryItem 云库存明细
     * @return 云库存明细集合
     */
    public List<BdmCloudInventoryItem> selectBdmCloudInventoryItemList(BdmCloudInventoryItem bdmCloudInventoryItem);

    /**
     * 新增云库存明细
     * 
     * @param bdmCloudInventoryItem 云库存明细
     * @return 结果
     */
    public int insertBdmCloudInventoryItem(BdmCloudInventoryItem bdmCloudInventoryItem);

    /**
     * 修改云库存明细
     * 
     * @param bdmCloudInventoryItem 云库存明细
     * @return 结果
     */
    public int updateBdmCloudInventoryItem(BdmCloudInventoryItem bdmCloudInventoryItem);

    /**
     * 批量删除云库存明细
     * 
     * @param ids 需要删除的云库存明细主键集合
     * @return 结果
     */
    public int deleteBdmCloudInventoryItemByIds(Long[] ids);

    /**
     * 删除云库存明细信息
     * 
     * @param id 云库存明细主键
     * @return 结果
     */
    public int deleteBdmCloudInventoryItemById(Long id);

    /**
     *  后台查询云库存明细
     */
    List<BdmCloudInventoryItemVo> cloudInventoryDetail(CloudInventoryDetailDto cloudInventoryDetailDto);
}
